package model;

/**
 * TDepartment entity. @author MyEclipse Persistence Tools
 */

public class TDepartment implements java.io.Serializable {

	// Fields

	private Integer departmentid;
	private String departmentname;
	private Integer departmentNum;
	private String phone;
	private String principal;

	// Constructors

	/** default constructor */
	public TDepartment() {
	}

	/** minimal constructor */
	public TDepartment(String departmentname, Integer departmentNum) {
		this.departmentname = departmentname;
		this.departmentNum = departmentNum;
	}

	/** full constructor */
	public TDepartment(String departmentname, Integer departmentNum,
			String phone, String principal) {
		this.departmentname = departmentname;
		this.departmentNum = departmentNum;
		this.phone = phone;
		this.principal = principal;
	}

	// Property accessors

	public Integer getDepartmentid() {
		return this.departmentid;
	}

	public void setDepartmentid(Integer departmentid) {
		this.departmentid = departmentid;
	}

	public String getDepartmentname() {
		return this.departmentname;
	}

	public void setDepartmentname(String departmentname) {
		this.departmentname = departmentname;
	}

	public Integer getDepartmentNum() {
		return this.departmentNum;
	}

	public void setDepartmentNum(Integer departmentNum) {
		this.departmentNum = departmentNum;
	}

	public String getPhone() {
		return this.phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getPrincipal() {
		return this.principal;
	}

	public void setPrincipal(String principal) {
		this.principal = principal;
	}

}